package ar.org.cfired.creditos.parametros;

public class LineaDeCredito {
	private int lin_id;
	private String lin_codigo;
	private String lin_descripcion;
	
	public void setLinId (int lin_id) {
		this.lin_id = lin_id;
	}
	public int getLinId() {
		return (this.lin_id);
	}

	public void setLinCodigo (String lin_codigo) {
		if (lin_codigo != null)
			this.lin_codigo = lin_codigo.substring(0, Math.min(5, lin_codigo.length()));
		else
			this.lin_codigo = new String();
	}
	public String getLinCodigo() {
		return (this.lin_codigo);
	}

	public void setLinDescripcion (String lin_descripcion) {
		if (lin_descripcion != null)
			this.lin_descripcion = lin_descripcion.substring(0, Math.min(255, lin_descripcion.length()));
		else
			this.lin_descripcion = new String();
	}
	public String getLinDescripcion() {
		return (this.lin_descripcion);
	}
}
